home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'An eyeball with a grey iris',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 35,
- 'MinAmbience': 0,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (81,81,81),
- 'Direction': (0.600537,0.799597,0.1),
- 'HighlightSize': 0
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (222,222,222),
- 'Direction': (0.17735,0.21735,-0.959847),
- 'HighlightSize': 5
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (85,75,75),
- 'Direction': (-0.54265,-0.58265,0.605021),
- 'HighlightSize': 35
- }]
- },
- 'Mode': App.Constants.CountType.Single,
- 'Multiple': {
-
- },
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.false
- },
- 'Surface': {
- 'Material': {
- 'Color': (255,255,255),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.true,
- 'FileName': 'Grey eye',
- 'PatternOpacity': 100,
- 'EnvironmentType': App.Constants.BubbleMapType.Environment
- },
- 'Gloss': 50,
- 'Opacity': 100,
- 'Shininess': 46
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-